import React, { ReactElement } from 'react';
import { ScrollView } from 'react-native';

import styles from './style';

import Header from '../Header';
import List from '../List';

export default (): ReactElement => {
  return (
    <ScrollView contentContainerStyle={styles.container}>
      <Header />
      <List />
    </ScrollView>
  );
};
